﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Bunian.Core.BusinessObjects
{
    public class Sponsorship : IPersistedObject
    {
        public virtual long Id { get; set; }
        public virtual Sponsor SponsorInfo { get; set; }
        public virtual Tender BeneficiaryTender { get; set; }
        public virtual decimal Amount { get; set; }
        public virtual DateTime StartDate { get; set; }
        public virtual SponsorshipStatus Status { get; set; }
        public virtual SponsorshipType Type { get; set; }
    }

    public enum SponsorshipStatus
    {
         Proposed
        ,Approved
        ,Cancelled
    }

    public enum SponsorshipType
    {
         Single
        ,Recurring
    }
}